package com.ws.service;

import com.ws.common.PaasPage;
import com.ws.entity.Reader;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author ：ws
 * @date ：Created in 2023/10/24 12:13
 * @description：TODO
 * @modified By：
 * @version: 1.0.0
 */
public interface ReaderService {
    PaasPage<Reader> getReaderPage(Pageable pageable, String readerName, String gender,String statusCd);

    Reader saveReader(Reader reader);

    Reader getReaderBasicInfo(Long readerId);

    void delReader(Long readerId);

    Reader updateReader(Long readerId, Reader reader);

    List<Reader> getReaderList(String readerName, String gender, String statusCd);
}
